Use the following procedure to average prof results:
% cc -o myprog myprog.c
The cc compiler compiles myprog.c and saves the executable as myprog.
% pixie myprog -pids
pixie generates the modified program myprog.pixie.
% myprog.pixie < input1 > output1
% myprog.pixie < input2 > output2
% myprog.pixie < input3 > output3
% prof -pixie myprog myprog.Counts*
prof sums the basic block data in the .Counts files to produce the profile report.